﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SaleManagement.Entity;
using SaleManagement.Model;

namespace SaleManagement.Services.Mapping
{
  public  class ShipMapping
    {
 public static Ship ConvertToEntity( ViewModelShip model)
       {
           Ship entity = new Ship();
           entity.Id = model.Id;
           entity.Name = model.Name;
         
           return entity;
       }
    }
}
